<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<table class="table table-striped table-bordered table-hover" id="zeren-table">
    <thead>
    <tr>
        <%--<th>是否变化</th>--%>
        <th>称谓</th>
        <th class="hidden-480">姓名</th>
        <th class="hidden-480">被追究时间</th>
        <th class="hidden-480">原因</th>
        <th class="hidden-480">处理阶段</th>
        <th class="hidden-480">处理结果</th>
        <th class="hidden-480">操作</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${list}" var="zeren">
        <tr class="odd gradeX">
            <%--<td>${zeren.RPTCHANGE}</td>--%>
            <td>${zeren.RELATION}</td>
            <td>${zeren.NAME}</td>
            <td>${zeren.ZJDATA}</td>
            <td>${zeren.RESASON}</td>
            <td>${zeren.STAGE}</td>
            <td>${zeren.RESULT}</td>
            <td>
                <a href="javascript:void(0);" onclick="delBtn('${zeren.SID}')" class="btn red icn-only">删除</a> <a href="javascript:void(0);" onclick="updInfoBtn('${zeren.SID}')" class="btn blue icn-only">修改</a>
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>
<script>
    //begin 子女刑事责任
    $('#zeren-table').dataTable({
        "aoColumns": [
            { "bSortable": false },
            { "bSortable": false },
            { "bSortable": false },
            { "bSortable": false },
            { "bSortable": false },
            { "bSortable": false },
            { "bSortable": false }
        ],
        "aLengthMenu": [
            [5, 15, 20, 99999],
            [5, 15, 20, "所有"] // change per page values here
        ],
        "iDisplayLength": 5,
        "bFilter" : false,
        "sDom": "<'row-fluid'<'span6'l><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>",
        "sPaginationType": "bootstrap",
        "oLanguage": {
            "sLengthMenu": "_MENU_ (记录/页)",
            "sInfo" : "从 _START_ 到  _END_ 条记录 总记录数为 _TOTAL_ 条",
            "oPaginate": {
                "sPrevious": "上一页",
                "sNext": "下一页"
            }
        }
    });
    //end  子女刑事责任
</script>
